package untity;

public class User {
    //id
    private int id;
    //用户账号
    private String userName;
    //用户密码
    private String userPassword;
    //用户评分
    private int fengShu;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public int getFengShu() {
        return fengShu;
    }

    public void setFengShu(int fengShu) {
        this.fengShu = fengShu;
    }


    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", fengShu=" + fengShu +
                '}';
    }
}
